package org.szx.dao;

import java.util.Collection;
import java.util.List;

import org.szx.model.ExamSubject;
import org.szx.model.ExamUser;
import org.szx.vo.ExamUserVO;

public interface Exam_UserDao extends IBaseDAO<ExamUser> {

	public List<ExamUser> findAllUsers();

	public void createUser(ExamUser user) throws Exception;

	public ExamUser getUserById(String id);

	public void deleteUser(String id) throws Exception;

	public void editUser(ExamUser user) throws Exception;

	public ExamUserVO getUserById1(String id);

	public void updateUserLoginFailCount(ExamUserVO resultVO);

	public void updateUserLastLockTime(ExamUserVO resultVO);

	public  List<ExamSubject> getAllSubjectByUser(String userId);

	

}
